package cn.iocoder.yudao.module.peizhen.controller.app.opencity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "用户 APP - 服务开通城市新增/修改 Request VO")
@Data
public class AppOpenCitySaveReqVO {

    @Schema(description = "城市id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3657")
    private Integer id;

    @Schema(description = "类型，省市县乡", example = "1")
    private Integer type;

    @Schema(description = "城市名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "城市名称不能为空")
    private String name;

    @Schema(description = "城市的上一级", example = "14949")
    private Integer parentId;

    @Schema(description = "是否开启，0未开启，1开启")
    private Integer open;

}